package com.huabo.system.oracle.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import tk.mybatis.mapper.annotation.KeySql;
import tk.mybatis.mapper.code.ORDER;

/**
 * <p>
 * 
 * </p>
 *
 * @author huabo
 * @since 2021-10-19
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="系统表单信息表", description="")
@Table(name = "TBL_SYSTEM_SHEETTABLE")
public class TblSystemSheetTable implements Serializable {

    @Id
    @KeySql(sql = "select HIBERNATE_SEQUENCE.nextval from dual", order= ORDER.DEFAULT)
    @ApiModelProperty(value = "主键")
    @TableId("TABLEID")
    private Integer tableId;

    @TableField("TABLETYPE")
    @ApiModelProperty(value = "所属模块,   智能监控 - znjk 合同管理-htgl 内控合规 -nkhg 系统设置-xtsz 智能审计-znsj 智能分析-znfx 业务管控财经实训等后续新增的一级权限 为该权限的Id")
    private String tableType;

    @TableField("RIGHTID")
    @ApiModelProperty(value = "所属权限")
    private String rightId;
    
    @TableField("FLOWID")
    @ApiModelProperty(value = "所属流程")
    private String flowId;
   
    
    @ApiModelProperty(value = "工作流名称")
    private String ymWorkName;
    
    @ApiModelProperty(value = "工作流主键")
    private String ymWorkFrom;
    
    @ApiModelProperty(value = "工作流数量")
    private Integer workCount;
    
    
}
